package com.adcc.msgsimulator.entity;

import com.adcc.msgsimulator.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 618报文表实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "msg618")
public class Msg618DO extends BaseDO {

    // 程序生成的报文ID
    @TableField(value = "MSG_ID")
    private String msgID;

    // 网关接收时间
    @TableField(value = "RECV_TIME")
    private String recvTime;

    // 发送时间
    @TableField(value = "BEP_TIME")
    private String depTime;

    // 消息类型（下行：0，上行：1）
    @TableField(value = "MSG_TYPE")
    private Integer msgType;

    // 基站名称
    @TableField(value = "STATION")
    private String station;

    // 机尾号
    @TableField(value = "TAIL")
    private String tail;

    // 机构二码
    @TableField(value = "AGENCY")
    private String agency;

    // 航班号
    @TableField(value = "FLIGHT_NUM")
    private String flightNum;

    // LABEL
    @TableField(value = "LABEL")
    private String label;

    // SUB_LABEL
    @TableField(value = "SUB_LABEL")
    private String subLabel;

    // SMI
    @TableField(value = "SMI")
    private String smi;

    // UBI或DBI
    @TableField(value = "BI")
    private String bi;

    // TAK
    @TableField(value = "TAK")
    private String tak;

    // MSN
    @TableField(value = "MSN")
    private String msn;

    // 报文长度
    @TableField(value = "MSG_LENGTH")
    private Integer msgLength;

    // 报文
    @TableField(value = "MSG")
    private String msg;

}
